package com.example.demo.dto

import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank

class QuestionnaireDo {


    @ApiModelProperty(value = "id")
    var id: Int? = null

    @get: NotBlank(message = "科室id不为空")
    @ApiModelProperty(value = "deptId")
    var deptId: Int? = null

    @get: NotBlank(message = "科室名称不为空")
    @ApiModelProperty(value = "deptName")
    var deptName: String? = null

    @get: NotBlank(message = "床位id不为空")
    @ApiModelProperty(value = "bedid")
    var bedid: Int? = null

    @get: NotBlank(message = "床位名称不为空")
    @ApiModelProperty(value = "bedName")
    var bedName: String? = null

    @get: NotBlank(message = "病人id不为空")
    @ApiModelProperty(value = "patientId")
    var patientId: Int? = null

    @get: NotBlank(message = "病人姓名不为空")
    @ApiModelProperty(value = "patientName")
    var patientName: String? = null

    @get: NotBlank(message = "调查表标题不为空")
    @ApiModelProperty(value = "questionnaireTitle")
    var questionnaireTitle: String? = null

    @get: NotBlank(message = "调查表id不为空")
    @ApiModelProperty(value = "questionnaireId")
    var questionnaireId: Int? = null

    @get: NotBlank(message = "调查表选项标题不为空")
    @ApiModelProperty(value = "answerTitle")
    var answerTitle: String? = null

    @get: NotBlank(message = "调查表选项id不为空")
    @ApiModelProperty(value = "answerid")
    var answerid: Int? = null
}